import { http } from "@/utils/http";
type Result = {
  success: boolean;
  data: Array<any>;
};
type DictkeyParams = {
  dictKey: string;
};
// 此处为获取字典的接口信息
export const getDictOptions = (dictKey: string) => {
  return http.get<Result, DictkeyParams>("/get-async-routes", {
    params: { dictKey }
  });
};
